package com.ruoyi.wisdom.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 职工管理对象 iot_company_user
 * 
 * @author ruoyi
 * @date 2025-01-20
 */
public class IotCompanyUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 单位ID */
    @Excel(name = "单位ID")
    private Long comId;

    /** 账号ID */
    @Excel(name = "账号ID")
    private Long uid;

    /** 用户名字 */
    @Excel(name = "用户名字")
    private String name;

    /** 相片 */
    @Excel(name = "相片")
    private String photo;

    /** 0正常 1禁用 */
    @Excel(name = "0正常 1禁用")
    private Integer locked;

    /** 0在职 1离职 2退休 */
    @Excel(name = "0在职 1离职 2退休")
    private Integer status;

    /** 工号 */
    @Excel(name = "工号")
    private String jobnumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setComId(Long comId) 
    {
        this.comId = comId;
    }

    public Long getComId() 
    {
        return comId;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }
    public void setLocked(Integer locked) 
    {
        this.locked = locked;
    }

    public Integer getLocked() 
    {
        return locked;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setJobnumber(String jobnumber) 
    {
        this.jobnumber = jobnumber;
    }

    public String getJobnumber() 
    {
        return jobnumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("comId", getComId())
            .append("uid", getUid())
            .append("name", getName())
            .append("photo", getPhoto())
            .append("locked", getLocked())
            .append("status", getStatus())
            .append("jobnumber", getJobnumber())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
